package common;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.UUID;

public interface ServerInterface extends Remote {
	
	public static final String RMIName = "ServerInterface";
	
	public UUID attachClient(ClientInterface client, String playerName) throws RemoteException;
	
	public void detachClient(UUID id) throws RemoteException;
	
	public void playerEvent(UUID id, PlayerEvent event) throws RemoteException;
	
}
